Inter rounded out a disappointing season with an entertaining 4-3 win over Empoli at San Siro, leaving them without European football in 2015-16.