U.S. soldier accused of Afghan massacre to have sanity review