Mazda said it would launch a new gasoline engine in 2019 that would use compression ignition, improving fuel efficiency.