Revert "Remove ruby-head from allow_failures matrix"

This reverts commit 5d2d301024cc0b17f26f6b454ac22a72f1db8a23.