Some displaced Gazans returning to north despite risks, UN says