Given an array of integers, find the pair that sums to a specific target value with optimal time complexity.
Return the indices of the two distinct elements whose values add to target. Return an empty list if no pair exists. The input is nums, an integer array, and target, an integer. The output is a two-element list of indices.
def find_pair_sum(nums, target):