An Ayrshire nurse has been suspended after she fell asleep while working a night shift - and failed to provide a patient with care.