Bagnaia cuts gap