An inquest begins in Perth into the police shooting of a man who had taken a delicatessen worker hostage and was threatening to kill her.