Maximum principles and the method of moving planes for a class of degenerate elliptic linear operators