The Navy has reassigned a former commander of an elite flight squad and is investigating claims he presided over rampant sexual harassment. Captain Gregory McWherter served two stints as commander of the Navy’s Blue Angels, an acrobatic flight demonstration team. Last week, the Navy announced he had been relieved of his most recent post as executive officer of a base in California. An internal military document, which was accidentally emailed to an editor at The Washington Post, shows a former squad member filed a complaint against McWherter last month. He is the latest in a series of senior commanders to face investigation amid an epidemic of sexual assault and harassment in the military.