mpdecision: modify idle_freq decision points to improve efficiency
In the idle case, the new_state assignment would happen twice. This moves both
assignments inside the decision so the assignment only happens once.[shrike1978]