Randle, Knicks beat Pistons