Thermal activation over a complex energy barrier in bistable microwires