On immigration, Cruz aims for middle ground