MDL-70935 mod_quiz: combine 'pass' and 'attemptsexhausted' rules