A university says it will help to fund flights home to Nigeria for crisis-hit students who it reported to the Home Office.