Situation in Rafah on 'knife's edge': UN chief