Set new_params_event in MLC after getting the cost
Set new_params_event in MLC after getting the cost

When generation_num=1, if the new_params_event is set first then the
learner will try to get the cost when the queue is empty, causing an
exception.

michaelhush/M-LOOP,charmasaur/M-LOOP