Temperature isotropization in solar flare plasmas due to the electron firehose instability