Court bars Musharraf to travel to U.S