An Extension of Barbashin-Krasovskii-LaSalle Theorem to a Class of Nonautonomous Systems