NUM to challenge dismissal of 401 miners over underground sit-in