Acyclicity and singleton cores in matching markets