Britons failed by flawed planning, COVID inquiry finds