Pakistan PM: Government can ride out political crisis