The United Nations agency for Palestinian refugees said Friday it had opened an investigation into several employees suspected of involvement in the Oct. 7 attacks in Israel by Hamas-led militants, and that it had severed ties with those staff members.