Mining trucks are to be fitted with a system that watches drivers' faces for imminent "microsleeps", which could cause accidents