Enrollment patterns and students’ risk of academic difficulty