TSX posts biggest loss since 2020 as inflation fears settle in