A gas pipe issue within the Royal Maternity Hospital will be fixed “as swiftly as possible” and will cost £50,000, Stormont’s Health Minister has confirmed.