Ultisnips: fix automatic parentheses insertion with function types

I didn't test #229 thoroughly. When among return types there are functions that accept many arguments, return types are not wrapped correctly with parentheses. This patch takes care of that.