Tens of thousands of Palestinians are returning home to northern Gaza after the opening was delayed for two days over a dispute between Hamas and Israel.