A man who was fatally shot by armed officers after entering a police station car park holding a knife and a bag with a cat inside was lawfully killed, an inquest has found.