President Joe Biden pardoned potentially thousands of former U.S. service members convicted of violating a now-repealed military ban on consensual gay sex, saying Wednesday that he is “righting an historic wrong” to clear the way for them to regain lost benefits.