Valencia close gap to Madrid