Identification and rejection of scattered neutrons in AGATA