A Stormont minister has apologised after an MLA complained he had “aggressively” told her to sit down.