US military in Afghanistan overhauls prison procedures