On a class of vertex cover ideals