Remove ret_style and instead check whether fn return type is bot

cc #3681