Bedford’s mayor has said he “bitterly regrets” comments made on social media about staff working from home, as a councillor raised concerns over the council’s approach to hybrid working.