Introductory Physics Students in Algebra-based Courses Who Typically Worked Alone or in Groups: Insights from Gender-Based Analysis before and during COVID-19