bugfixes in eq and roll (http://codegolf.stackexchange.com/a/42884/3808)