Approximate UA(1) restoration at high temperatures and the spectrum of pseudoscalar mesons