Legislative pay raise passes narrowly, but easily