A federal judge approved the settlement between Democratic state attorneys general and Paramount Skydance on Wednesday, clearing the last legal obstacle standing in the way of Paramount’s merger with Warner Bros. Discovery and paving the way for the deal to be finalized within days.