Add friendlier error for two adjacent elements

Fixes facebook/react#1584.

Test Plan: npm test