Pressure-induced metal-insulator transition of the mott insulator Ba2IrO4