Resignation set to take effect within two weeks if issue not resolved after doctors-in-training reject government plan to reduce shifts to 18 hours in select hospitals by 2026