Nigerian minister accused of forging qualifications resigns