British automation company Blue Prism Group has agreed to a $1.65 billion (£1.24 billion) takeover offer from US-based fintech firm SS&C Technologies Holdings.