WASHINGTON (Reuters) - Secretary of State John Kerry has agreed to testify on June 12 before a House committee investigating the 2012 attack on the U.S. diplomatic compound in Benghazi, Libya, resolving a contentious dispute with Republicans in Congress.