Pakistan court orders release of ex-president Musharraf after months of house arrest