Pakistan president dissolves parliament on advice of prime minister