Parties split over PM’s ‘hasty’ invite to Sharif