Elgar, de Kock half-centuries negate early Windies strikes