Two mining contractors and Capricorn Metals will be prosecuted by WorkSafe for two deaths on WA mine sites that occurred within the space of 72 hours.