Court seems split in cake case examining religious rights, expression